package com.xcf.service.business.finance;


import java.util.List;
import java.util.Map;

import com.xcf.util.PageData;

public interface FreightIncomeService {

	List<PageData> serh(PageData pd) throws Exception;

	//收入业务编号
	List<PageData> serhye(PageData pd) throws Exception;

	//抵扣业务编号
	List<PageData> serhdi(PageData pd) throws Exception;

	void save(PageData pdq) throws Exception;

	//查询导入查询
	List<PageData> search(PageData pd) throws Exception;

	//
	List<PageData> sear(PageData pd) throws Exception;

	//修改
	void updit(PageData pdq)throws Exception;

	//删除
	void dele(PageData pd)throws Exception;

	//查询部门下拉
	List<PageData> serhbumen(PageData pd) throws Exception;

	//运费收入列表的显示
	List<PageData> seach(PageData pd) throws Exception;
	/**
	 * 托单号对应总金额
	 * @param billCode
	 * @return
	 * @throws Exception
	 */
	public PageData findFeeAmount(PageData pd)throws Exception;
	/**
	 * 查询前期金额
	 * @param pd
	 * @return
	 * @throws Exception
	 */
	public PageData findFrontAmount(String invoice_bill_code)throws Exception;
	/**
	 * 发票号对应总金额
	 * @param pd
	 * @return
	 * @throws Exception
	 */
	public PageData findInvoiceAllAmount(PageData pd)throws Exception;
	/**
	 * 发票号对应前期金额
	 * @param receivables_invoice_code
	 * @return
	 * @throws Exception
	 */
	public PageData findFrontInvoiceAmount(String receivables_invoice_code)throws Exception;
	/**
	 * 保存到收款明细表
	 * @param pd
	 * @throws Exception
	 */
	public void saveReceivablesCotsDetail(PageData pd)throws Exception;
	/**
	 * 保存都抵扣表
	 * @param pd
	 * @throws Exception
	 */
	public void saveReceivablesDeductibleDetail(PageData pd)throws Exception;
	/**
	 * 收款单号
	 * @param pd
	 * @return
	 * @throws Exception
	 */
	public Object getPaymentCode(PageData pd) throws Exception;
	/**
	 * 保存公共信息
	 * @param pd
	 * @throws Exception
	 */
	public void saveReceivablesCostInfo(PageData pd)throws Exception;
	/**
	 * 查找运费收入缴款单信息
	 * @param pd
	 * @return
	 * @throws Exception
	 */
	public List<Map>findReceivablesInfo(PageData pd)throws Exception;
	/**
	 * 更新收款明细
	 * @param pd
	 * @throws Exception
	 */
	public void updateReceivablesCotsDetail(PageData pd)throws Exception;
	/**
	 * 更新抵扣明细
	 * @param pd
	 * @throws Exception
	 */
	public void updateReceivablesDeductibleDetail(PageData pd)throws Exception;
	/**
	 * 更新公共信息
	 * @param pd
	 * @throws Exception
	 */
	public void updateReceivablesCostInfo(PageData pd)throws Exception;
}
